//
// Created by deepin on 2020/11/10.
//
#include <iostream>
using namespace std;
template <typename T> void Swap(T &a , T &b);
template <typename T> void Swap(T *a , T *b ,int n);
void Show (int a[]);
const int LIM = 8;
/*int main ()
{
  int i = 10 ,j = 20;
  cout << "i,j = " << i << ", " << j << "\n";
  Swap(i,j);
  cout << "i,j = " << i << ", " << j << "\n";

  int d1[LIM] = {1,2,3,4,5,6,7};
  int d2[LIM] = {8,9,10,11,12,13,14};

  Show(d1);
  Show(d2);

  Swap(d1,d2,LIM);

  Show(d1);
  Show(d2);

  return 0;
}*/
template <typename T> void Swap(T &a , T &b)
{
  T temp;
  temp = a;
  a = b;
  b = temp;
}
template <typename T> void Swap(T *a , T *b ,int n)
{
  T temp;
  for (int i=0;i<n;++i)
  {
    temp = a[i];
    a[i] = b[i];
    b[i] = temp;
  }
}
void Show (int a[])
{
  cout << a[0] << a[1] << "/";
  cout << a[2] << a[3] << "/";
  for (int i = 4;i<LIM;i++)
    cout << a[i];
  cout << endl;
}
